package com.zzxy.spring2.service.impl;

import com.zzxy.spring2.service.IuserService;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl implements IuserService {
    public String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public void adduser() {
        System.out.println("add user success..." + username);
    }
}
